package com.gx.mvp.ui.main;

import android.content.Context;
import com.gx.mvp.base.BasePresenter;
import com.gx.mvp.base.BaseView;

/**
 * Created by Guoxin on 2019/12/05.
 */
public interface MainView {

    interface View extends BaseView{

        void onSuccess();

        void onError();

    }

    abstract class Presenter extends BasePresenter<View>{
        /**
         * 构造方法
         *
         * @param context
         * @param view
         */
        public Presenter(Context context, View view) {
            super(context, view);
        }

        public abstract void test(String account, String password);
    }

}
